//
//  @ Project : Adamantium Project
//  @ File Name : SRMap.h
//  @ Date : 12/3/2012
//  @ Author : 
//
//
#pragma once
#include "TemplateVector.h"
#include "Vector2D.h"

class SRMap {
private:
	TemplateVector<V2DI> enemyPos;
	TemplateVector<V2DI> starPos;
public:
	bool superNova;//if sector has super nova destroying it
	bool isDarkSpace;//space outside the bounds of the game map. set when init vector data is null
	bool isExplored;//change to true when player ship is in or near quadrant

	SRMap();
	void init(int level);
	
	//added by Jason Stewart
	~SRMap();//destructor clears out vectors
	/** add enemy pos to quadrant or SRMap*/
	void addEnemyPos(V2DI a_pos);

	/** add star to quadrant or SRMap*/
	void addStarPos(V2DI a_pos);

	/** removes enemy from specific pos. returns true if successful */
	bool removeEnemy(V2DI a_pos);

	/** checks to see if an object is at a_pos*/
	bool checkObjectAt(V2DI a_pos);

	/** get enemy size for quadrant*/
	int enemyNumbers();

	/** get star size for quadrant*/
	int starNumbers();

	/** get copy of enemyPos vector*/
	TemplateVector<V2DI> getEnemyPos();

	/** get copy of starPos vector*/
	TemplateVector<V2DI> getStarPos();

	///** checks if supernova sector*/
	//bool checkSuperNova();
	///** checks if darkspace sector*/
	//bool checkDarkSpace();
};